#ifndef NOTIFICATION_H
#define NOTIFICATION_H

#include <QWidget>

namespace Ui { class Notification; }
class NotificationBackground;


class Notification : public QWidget
{
    Q_OBJECT
public:
    explicit Notification (const QPixmap& backgroundImage, QWidget* parent = 0);
    ~Notification();

    void setTitle (const QString& title);
    void setMessage (const QString& message);
    void setImage (const QPixmap& image);

    qreal getOpacity() const;

public slots:
    void setOpacity (const qreal& opacity);
    void moveRequest (const int& x, const int& y);

private:
    Ui::Notification* ui;
    NotificationBackground* notificationBackground;

signals:
    void widgetMoved();
};


#endif // NOTIFICATION_H
